You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="45commando" timestamp="2016-04-15T08:54:38Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">__NOTOC__
{|style=&quot;width:100%; margin:0px; color:#000; background:#fff;&quot; cellpadding=&quot;15&quot;
| colspan=&quot;2&quot; | 
&lt;div style=&quot;background-color:#f9f9f9; padding:5px 10px 5px; margin-top: -2px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;border-size: 1px;border-style: solid;border-color: #ccc&quot;&gt;
&lt;h1&gt;Welcome to the Wikipedia of 45 Commando.&lt;/h1&gt;

Please note that this is a work in progress, any information displayed is subject to change.
&lt;/div&gt;
|-

|style=&quot;width:45%;vertical-align:top;&quot; |

&lt;div style=&quot;background-color:#f9f9f9; width: 100%; padding:5px 5px 5px; margin-top: -2px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;border-size: 1px;border-style: solid;border-color: #ccc&quot;&gt;
[[File:Wikiheader_info.png]]

*[[Rules_&amp;_Regulations|Rules and Regulations]]
&lt;/div&gt;

|style=&quot;width:45%;vertical-align:left;&quot; | 

&lt;div style=&quot;background-color:#f9f9f9;width:70%; padding:5px 10px 5px; margin-top: -2px; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px;border-size: 1px;border-style: solid;border-color: #ccc&quot;&gt;
[[File:Wikiheader_schedule.png]]

{|class=&quot;wikitable&quot; style=&quot;color: black; background-color: #ffffff; width: 85%;&quot;

!Event Day
!Event Type
!Event Start
|-
|style=&quot;text-align:center;&quot;|Saturday
|style=&quot;text-align:center;&quot;|Combat Deployment
|style=&quot;text-align:center;&quot;|20:00 GMT
|-
|style=&quot;text-align:center;&quot;|Sunday
|style=&quot;text-align:center;&quot;|Troop Training
|style=&quot;text-align:center;&quot;|20:00 GMT

|}

&lt;/div&gt;

|}</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>